<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Dojo IDE v0.1</title>
<script type="text/javascript">
	var localDojo = true;
	djConfig = {
		isDebug: true,
		parseOnLoad: true,
		usePlainJson: true
	};
</script>
<script type="text/javascript">
	if (typeof dojo == "undefined") {
		if(localDojo == true){
			if (window.console) {
				window.console.info('Trying to load local Dojo 1.2.0');
			}
			document.write('<style type="text/css">@import "../dojo1.2.0/dijit/themes/tundra/tundra.css";</style>');
			document.write('<script type="text/javascript" src="../dojo1.2.0/dojo/dojo.js"><\/script>');
		}else{
			djConfig.baseUrl = "/";
			if (window.console) {
				window.console.info('Trying to load remote Dojo 1.2.0');
			}
			document.write('<style type="text/css">@import "http://o.aolcdn.com/dojo/1.2.0/dijit/themes/tundra/tundra.css";</style>');
			document.write('<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.0/dojo/dojo.xd.js"><\/script>');
		}
	}
</script>
<script type="text/javascript">
	dojo.require("dojo.parser");
	dojo.registerModulePath('dojoide', '/DojoIDE/dojoide');
	dojo.require("dojoide.workspace.Workspace");
	dojo.addOnLoad(function(){
		document.body.className = "tundra";
		console.info('Dojo ' + dojo.version + ' has been loaded successfully');
	});
</script>
</head>
<body>
<div style="width: 100%; height: 100%">
<div dojoType="dojoide.workspace.Workspace"></div>
</div>
</body>
</html>
